from math import *
class UniVariateGaussianDistributionProcessorFromMeanVariance:
    #Constructor with X, Mean and Variance(SIGMA**2) 
    def __init__(self,uni_variate_x,uni_variate_mean,uni_variate_variance):
        self.uni_variate_x=uni_variate_x
        self.uni_variate_mean=uni_variate_mean
        self.uni_variate_variance=uni_variate_variance
        
    #Calculate Gaussian Distribution for X, Mean and Variance(SIGMA**2)    
    def calculate_uni_variate_gaussian_distribution(self):
        uni_variate_gaussian_normalizer=1/sqrt(2*pi*self.uni_variate_variance)
        uni_variate_gaussian_meanx_distance=exp(-.5 *(self.uni_variate_x-self.uni_variate_mean)**2 /self.uni_variate_variance)
        return uni_variate_gaussian_normalizer*uni_variate_gaussian_meanx_distance